Skip to content

Add testing_commitBlockV1 RPC Method#787

Open
marcindsobczak wants to merge 1 commit intoethereum:mainfrom
marcindsobczak:testing-commit-block-v1
Open

Add testing_commitBlockV1 RPC Method#787
marcindsobczak wants to merge 1 commit intoethereum:mainfrom
marcindsobczak:testing-commit-block-v1

Conversation

@marcindsobczak
Copy link
Copy Markdown

Addressing #705
which was partially addressed by already specified testing_buildBlockV1 #747 & #710.
tesitng_commitBlockV1 is working similar to testing_buildBlockV1, but instead of returning a new payload, it is commiting it to the main chain and returning only hash of commited block (or null in case of fail).

This method will be useful for extensive bloating - eliminates overhead of:

  • serializing generated new payload
  • returning it via engine API
  • then receiving the same payload as engine_newPayload
  • deserializing it

Here, generated new payload will be directly validated and commited to the main chain and only block hash will be returned as a confirmation of success (or 'null' if fails)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant